<%@page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>${properties.projectName}-${properties.sampleName}-${className}-list</title>
</head>
<body>
<a href='${properties.webRoot}/${properties.projectName?uncap_first}/${properties.sampleName}/index.jsp'>index</a>
<a href='${properties.webRoot}/${properties.projectName?uncap_first}/controller/${className?uncap_first}Controller.do?method=add'>add</a>
<br>
<c:forEach items="${r"${"}page.items${r"}"}" var="${className?uncap_first}" >
<a href='${properties.webRoot}/${properties.projectName?uncap_first}/controller/${className?uncap_first}Controller.do?method=show&${pk?uncap_first}=${r"${"}${className?uncap_first}.${pk?uncap_first}${r"}"}'>${className}[${r"${"}${className?uncap_first}.${pk?uncap_first}${r"}"}]</a><br>
</c:forEach> 
<c:if test="${r"${"}page.hasPrevious${r"}"}">
<a href='${properties.webRoot}/${properties.projectName?uncap_first}/controller/${className?uncap_first}Controller.do?method=list&pageSize=${r"${"}page.size${r"}"}&currentPageNo=${r"${"}page.current-1${r"}"}'>Previous</a>
</c:if>
<c:if test="${r"${"}page.hasNext${r"}"}">
<a href='${properties.webRoot}/${properties.projectName?uncap_first}/controller/${className?uncap_first}Controller.do?method=list&pageSize=${r"${"}page.size${r"}"}&currentPageNo=${r"${"}page.current+1${r"}"}'>Next</a>
</c:if>
<br>第 ${r"${"}page.current${r"}"} 页 共 ${r"${"}page.pageCount${r"}"} 页 共 ${r"${"}page.count${r"}"} 条记录
</body>
</html>